/*
 * Copyright (C) Michael Martin & Antonio Carrozzini (TBJD)
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 */

package org.tbjd.client.constants;

/**
 * Constants used by the {@link org.tbjd.client.guis.gantt.GanttGui GanttGui}
 * 
 * @author Michael Martin
 * @author Antonio Carrozzini
 * @version 1.0
 * 
 */
public class GanttConstants {

	/**
	 * Height in pixels of the header of the {@link org.tbjd.client.guis.gantt.GanttTimeLineGui GanttTimeLineGui}
	 */
	public static final int TIMELINE_HEADER_HEIGHT = 30;
	
	/**
	 * The number of columns displayed in the {@link org.tbjd.client.guis.gantt.GanttTimeLineGui GanttTimeLineGui}
	 */
	public static final int TIMELINE_COLUMN_NUMBER = 31;
	
	/**
	 * Horizontal scroll offset in pixels of the CENTER {@link org.tbjd.client.constants.ApplicationLayoutConstants ApplicationLayoutGui}
	 */
	public static int SCROLL_HORIZONTAL_OFFSET;
	
	/**
	 * Height in pixels of a {@link org.tbjd.client.guis.gantt.items.AbstractGanttItem AbstractItem}
	 */
	public static int DRAGGABLEGANTTITEM_HEIGHT = 10;
	
	/**
	 * Width in pixels of a {@link org.tbjd.client.guis.gantt.items.GanttTaskItem GanttTaskItem}
	 */
	public static int GANTTASKTITEM_HANDLEWIDTH = 13;
	
	/**
	 * Height in pixels of a {@link org.tbjd.client.guis.gantt.items.GanttTaskItem GanttTaskItem}
	 */
	public static int GANTTASKTITEM_HANDLEHEIGHT = 10;
	
	/**
	 * Height of the panel containing the slider handle below a {@link org.tbjd.client.guis.gantt.items.GanttTaskItem GanttTaskItem}
	 */
	public static final int SLIDERPANEL_HEIGHT = 10;
	
	/**
	 * Height in pixels of the vertical distance between {@link org.tbjd.client.guis.gantt.items.AbstractGanttItem AbstractGanttItems}
	 */
	public static final int DRAGGABLEGANTTITEM_SPACE = DRAGGABLEGANTTITEM_HEIGHT+SLIDERPANEL_HEIGHT;

}
